package com.thread;

public class Test {
	private int value = 1;
	
	public int getNext(){
		System.out.println(value);
		value = value++;
		System.out.println(value);
		return value;
	}
	
	public static void main(String[] args) {
//		System.out.println(getNext());
	}
}
